From: Stefan Monnier Date: Thu, 27 Jan 2011 17:07:48 +0000 (-0500) Subject: * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~5054 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=6f14503c53337a0cdc03378d8dced7ddc872712a;p=emacs.git * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Copy change made to ruby-font-lock-syntactic-keywords. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a972d68125c..a3a2291e948 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2011-01-27 Stefan Monnier + * progmodes/ruby-mode.el (ruby-syntax-propertize-function): + Copy change made to ruby-font-lock-syntactic-keywords. + * htmlfontify.el: Make it obey the font-lock-face text property. Miscellaneous cleanup such as: - Don't hide expressions after a closing paren. diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 1c71fc68bfe..9d40b4d8fd7 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -1129,7 +1129,7 @@ See `add-log-current-defun-function'." (nth 3 (syntax-ppss (match-beginning 0)))) (string-to-syntax "\\")))) ;; regexps - ("\\(^\\|[=(,~?:;<>]\\|\\(^\\|\\s \\)\\(if\\|elsif\\|unless\\|while\\|until\\|when\\|and\\|or\\|&&\\|||\\)\\|g?sub!?\\|scan\\|split!?\\)\\s *\\(/\\)[^/\n\\\\]*\\(\\\\.[^/\n\\\\]*\\)*\\(/\\)" + ("\\(^\\|[[=(,~?:;<>]\\|\\(^\\|\\s \\)\\(if\\|elsif\\|unless\\|while\\|until\\|when\\|and\\|or\\|&&\\|||\\)\\|g?sub!?\\|scan\\|split!?\\)\\s *\\(/\\)[^/\n\\\\]*\\(\\\\.[^/\n\\\\]*\\)*\\(/\\)" (4 "\"/") (6 "\"/")) ("^=en\\(d\\)\\_>" (1 "!"))